// 控制器和预览端共享的消息类型定义

export const DataTopic = {
  CONTROLLER_COMMAND: 'controller_command',
  CONTROLLER_CHAT: 'controller_chat',
  PREVIEW_STATUS: 'preview_status',
  FLOW_NODE_COMPLETED: 'flow_node_completed',
  CONTROLLER_JOIN: 'controller_join',
  CHAT: 'lk-chat-topic',
  FLOWNODE_DATA: 'multi_modal_data',
  INTERRUPT: 'INTERRUPT',
  CHAT_UPDATE: 'lk-chat-update-topic',
  ...window.DataTopic
};

export const DataCommand = {
  PLAY_FLOW_NODE: 'play_flow_node',
  START_RECORDING: 'start_recording',
  STOP_RECORDING: 'stop_recording',
  ...window.DataCommand
};